Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Jan 28, 2025

If HMR is enabled, a component update has the potential to be unsupported at runtime or may cause an exception. While build time analysis attempts to verify that an update is possible, there could be cases that are as of yet unknown. For those cases, the runtime can now signal this information back to the development server which will clear the errant component update and trigger a full page reload. This action will be logged to the development server console along with an optional message from the client.

…ient

If HMR is enabled, a component update has the potential to be unsupported
at runtime or may cause an exception. While build time analysis attempts
to verify that an update is possible, there could be cases that are as of
yet unknown. For those cases, the runtime can now signal this information
back to the development server which will clear the errant component update
and trigger a full page reload. This action will be logged to the development
server console along with an optional message from the client.
@clydin clydin added the target: patch This PR is targeted for the next patch release label Jan 28, 2025
@clydin clydin marked this pull request as ready for review January 30, 2025 15:03
@clydin clydin added the action: merge The PR is ready for merge by the caretaker label Feb 3, 2025
@clydin clydin merged commit 9525eee into angular:main Feb 4, 2025
34 checks passed
@clydin
Copy link
Member Author

clydin commented Feb 4, 2025

The changes were merged into the following branches: main, 19.1.x

@clydin clydin deleted the hmr/update-invalidation branch February 4, 2025 12:11
crisbeto added a commit to crisbeto/angular that referenced this pull request Feb 11, 2025
Integrates angular/angular-cli#29510 which allows us to invalidate the data in the dev server for a component if a replacement threw an error.
atscott pushed a commit to angular/angular that referenced this pull request Feb 12, 2025
…59854)

Integrates angular/angular-cli#29510 which allows us to invalidate the data in the dev server for a component if a replacement threw an error.

PR Close #59854
atscott pushed a commit to angular/angular that referenced this pull request Feb 12, 2025
…59854)

Integrates angular/angular-cli#29510 which allows us to invalidate the data in the dev server for a component if a replacement threw an error.

PR Close #59854
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants